package com.group02.community.entity.community;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.group02.community.entity.dict.SysDictData;
import lombok.Data;

import java.util.Date;
import java.math.BigDecimal;

/**
 * @Description zy_room: table
 * @Author Sunk
 * @Date 2022-07-19
 */

@Data
@TableName("zy_room")
public class ZyRoom implements Serializable {

    private static final long serialVersionUID = 3148939578772200588L;

    @TableId
    /** 房间id */
    private String roomId;

    @ExcelProperty(value = {"小区id"}, index = 1)
    /** 小区id */
    private String communityId;

    @ExcelProperty(value = {"楼栋id"}, index = 2)
    /** 楼栋id */
    private String buildingId;

    @ExcelProperty(value = {"单元id"}, index = 3)
    /** 单元id */
    private String unitId;

    @ExcelProperty(value = {"楼层"}, index = 4)
    /** 楼层 */
    private Integer roomLevel;

    @ExcelProperty(value = {"房间编号"}, index = 0)
    /** 房间编号 */
    private String roomCode;

    @ExcelProperty(value = {"房间名称"}, index = 5)
    /** 房间名称 */
    private String roomName;

    @ExcelProperty(value = {"房屋建筑面积"}, index = 6)
    /** 房屋建筑面积 */
    private BigDecimal roomAcreage;

    @ExcelProperty(value = {"算费系数"}, index = 7)
    /** 算费系数 */
    private BigDecimal roomCost;

    @ExcelProperty(value = {"房屋状态信息"}, index = 8)
    /** 房屋状态 */
    private String roomStatus;

    @ExcelProperty(value = {"是否商铺信息"}, index = 9)
    /** 是否商铺 */
    private String roomIsShop;

    @ExcelProperty(value = {"是否商品房信息"}, index = 10)
    /** 是否商品房 */
    private String roomSCommercialHouse;

    @ExcelProperty(value = {"房屋类型信息"}, index = 11)
    /** 房屋户型 */
    private String roomHouseType;

    /**
     * 创建者
     */
    private String createBy;

    @ExcelProperty(value = {"创建时间"}, index = 12)
    /** 创建时间 */
    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    @ExcelProperty(value = {"创备注建时间"}, index = 13)
    /** 备注 */
    private String remark;

    /**
     * 小区信息
     */
    @TableField(exist = false)
    private ZyCommunity zyCommunity;

    /**
     * 楼栋信息
     */
    @TableField(exist = false)
    private ZyBuilding zyBuilding;

    /**
     * 单元信息
     */
    @TableField(exist = false)
    private ZyUnit zyUnit;


    /**
     * 房屋状态信息
     */
    @TableField(exist = false)
    private String houseStatus;


    /**
     * 是否商铺信息
     */
    @TableField(exist = false)
    private String isShop;


    /**
     * 是否商品房信息
     */
    @TableField(exist = false)
    private String isShopHouse;


    /**
     * 房屋类型信息
     */
    @TableField(exist = false)
    private String houseType;

}
